package com.wymobilearchitecture.study.fragment

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.wy.w_ui.CTextView
import com.wymobilearchitecture.R
import com.wy.common.base.BaseFragment

class TestFragmentFirst :Fragment() {
//    override fun getLayoutId(): Int {
//        return R.layout.test_fragment_first
//    }

    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
        val root = inflater.inflate(R.layout.test_fragment_first,container,false)
        val firstText : CTextView = root.findViewById(R.id.first_text)

        firstText.text = "s: " + System.currentTimeMillis().toString()
        return root
    }

    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        super.onViewCreated(view, savedInstanceState)


    }
}